package com.demo.springcloud.service;


import com.demo.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

/**
 * @author :chenjie
 * @date :Created 2022/11/1 22:29
 */
@Service
public interface PaymentService
{
    public int create(Payment payment);

    public Payment getPaymentById(@Param("id") Long id);
}
